package com.zjun.demo.experimentaldemo.sort

import android.util.Log
import android.view.View
import com.google.android.gms.common.util.NumberUtils
import com.zjun.demo.experimentaldemo.R
import com.zjun.demo.experimentaldemo.base.BaseActivity
import com.zjun.demo.experimentaldemo.databinding.ActivitySortBinding
import com.zjun.demo.experimentaldemo.utiltest.NumberFormatUtil
import java.lang.StringBuilder

/**
 * 各种常用遍历方法
 */
class SortActivity : BaseActivity<ActivitySortBinding>() {
    override fun initialize() {

    }
    override fun getLayoutId(): Int = R.layout.activity_sort

    fun ergodic1(view: View) {
        val stringBuilder = StringBuilder()
        for (i in 0..120){
            stringBuilder.append("$i\n")

        }
        mBinding.tvResponse.text = stringBuilder
    }

    fun ergodic2(view: View) {

    }

    fun ergodic3(view: View) {

    }

    private val TAG = "SortActivity"

}